package cn.com.generaldata.os.constant;

public class FilterConstant {
	// search type
	public static final byte EQUAL = 0;
	public static final byte LIKE = 1;
	public static final byte LT = 2;
	public static final byte GT = 3;
	public static final byte COLLECTION = 4;
	public static final byte NOT_EQUAL = 5;
	public static final byte LE = 6;
	public static final byte GE = 8;
	public static final byte GET_NULL = 7;
	public static final byte NOT_NULL = 10;
	public static final byte UNCOLLECTION = 9;
	public static final byte OR = 11;
	public static final byte ORVALUE = 12;

	// order types
	public static final byte NO_ORDER = 0;
	public static final byte ASC = 1;
	public static final byte DESC = 2;
	public static final String DESC_STR = "DESC";
	public static final String ASC_STR = "ASC";
	public static final String ORDER_BY = "ORDER_BY";

	// value type
	public static final String VALUE_TYPE_STRING = "String.class";
	public static final String VALUE_TYPE_DATE = "Date.class";
	public static final String VALUE_TYPE_SHORT = "Short.class";
	public static final String VALUE_TYPE_LONG = "Long.class";
	public static final String VALUE_TYPE_BYTE = "Byte.class";
}
